const {resolve} = require('path');

module.exports = {
    entry: './src/index.js',

    output: {
        filename: "build.js",
        path: resolve(__dirname, 'build')
    },

    //打包非js文件以外的资源
    module: {
        rules: []
    },

    plugins: [],

    mode: "development"
};